﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace D2D2.Core
{
    public class ProgressManagerFactory
    {
        private readonly Texture2D _texture;

        public ProgressManagerFactory(Texture2D texture)
        {
            _texture = texture;
        }

        public ProgressManager CreateProgressManager(Rectangle location)
        {
            return new ProgressManager(_texture, location);
        }
    }
}
